From: kfraser@localhost.localdomain Date: Wed, 5 Jul 2006 10:24:09 +0000 (+0100) Subject: [XENTOP] Fix Field attributes and width. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15900 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=412dc9c9fff5577819ad2d07122a68fb2de93542;p=xen.git [XENTOP] Fix Field attributes and width. It miss that set the FIELD attribute and width for VBD information in xentop.c. Signed-off-by Satoshi UCHIDA --- diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index adeaf7ec30..b808bfa497 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -156,11 +156,11 @@ field fields[] = { { FIELD_NETS, "NETS", 4, compare_nets, print_nets }, { FIELD_NET_TX, "NETTX(k)", 8, compare_net_tx, print_net_tx }, { FIELD_NET_RX, "NETRX(k)", 8, compare_net_rx, print_net_rx }, - { FIELD_NET_RX, "VBDS", 8, compare_vbds, print_vbds }, - { FIELD_NET_RX, "VBD_OO", 8, compare_vbd_oo, print_vbd_oo }, - { FIELD_NET_RX, "VBD_RD", 8, compare_vbd_rd, print_vbd_rd }, - { FIELD_NET_RX, "VBD_WR", 8, compare_vbd_wr, print_vbd_wr }, - { FIELD_SSID, "SSID", 4, compare_ssid, print_ssid } + { FIELD_VBDS, "VBDS", 4, compare_vbds, print_vbds }, + { FIELD_VBD_OO, "VBD_OO", 8, compare_vbd_oo, print_vbd_oo }, + { FIELD_VBD_RD, "VBD_RD", 8, compare_vbd_rd, print_vbd_rd }, + { FIELD_VBD_WR, "VBD_WR", 8, compare_vbd_wr, print_vbd_wr }, + { FIELD_SSID, "SSID", 4, compare_ssid, print_ssid } }; const unsigned int NUM_FIELDS = sizeof(fields)/sizeof(field);